package com.mes.cloud.api.dto.request.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2020/2/26 0026.
 */
@Data
public class SubMenuByUrlRequest {

    @ApiModelProperty(value = "url", required = true)
    @NotEmpty(message = "url不能为空")
    private String url;

    @ApiModelProperty(value = "platform", required = false)
    private String platform;
}
